/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFO-0.144337567: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  dev                                   |
|   \\  /    A nd           | Web:      www.OpenFO-0.144337567.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 180;

am -0.144337567;
ap 0.144337567;
squeeze 0.5;
expand  2;

nx 45;
nz 45;

vertices
(
    (-1  -.1 -.5)
    (-.5 -.1 -.5)
    ( 0  -.1 -.5)
    (.5  -.1 -.5)
    ( 1  -.1 -.5)

    (-1  -.1 $ap)
    (-.5 -.1 $am)
    ( 0  -.1 $ap)
    ( .5 -.1 $am)
    ( 1  -.1 $ap)

    (-1  -.1 .5)
    (-.5 -.1 .5)
    ( 0  -.1 .5)
    (.5  -.1 .5)
    ( 1  -.1 .5)

    (-1  .1 -.5)
    (-.5 .1 -.5)
    ( 0  .1 -.5)
    (.5  .1 -.5)
    ( 1  .1 -.5)

    (-1  .1 $ap)
    (-.5 .1 $am)
    ( 0  .1 $ap)
    ( .5 .1 $am)
    ( 1  .1 $ap)

    (-1  .1 .5)
    (-.5 .1 .5)
    ( 0  .1 .5)
    (.5  .1 .5)
    ( 1  .1 .5)
);

blocks
(
    hex (0 1 16 15 5 6 21 20) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $squeeze $expand $expand $squeeze)
	hex (1 2 17 16 6 7 22 21) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $expand $squeeze $squeeze $expand)
	hex (2 3 18 17 7 8 23 22) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $squeeze $expand $expand $squeeze)
	hex (3 4 19 18 8 9 24 23) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $expand $squeeze $squeeze $expand)
	
	hex (5 6 21 20 10 11 26 25) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $squeeze $expand $expand $squeeze)
	hex (6 7 22 21 11 12 27 26) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $expand $squeeze $squeeze $expand)
	hex (7 8 23 22 12 13 28 27) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $squeeze $expand $expand $squeeze)
	hex (8 9 24 23 13 14 29 28) ($nx 1 $nz)
	    edgeGrading (1 1 1 1 1 1 1 1 $expand $squeeze $squeeze $expand)
);

edges
(
);

boundary
(
    top
    {
        type  wall;
        faces
        (
            (10 11 26 25)
            (11 12 27 26)
            (12 13 28 27)
            (13 14 29 28)
        );
    }
    inlet
    {
        type  cyclic;
        neighbourPatch outlet;
        faces
        (
            (0 5 20 15)
            (5 10 25 20)
        );
    }
    outlet
    {
        type  cyclic;
        neighbourPatch inlet;
        faces
        (
            (4 19 24 9)
            (9 24 29 14)
        );
    }
    ground
    {
        type wall;
        faces
        (
            (0 15 16 1)
            (1 16 17 2)
            (2 17 18 3)
            (3 18 19 4)
        );
    }
    front
    {
        type empty;
        faces
        (
            (0 1 6 5)
            (1 2 7 6)
            (2 3 8 7)
            (3 4 9 8)
            (5 6 11 10)
            (6 7 12 11)
            (7 8 13 12)
            (8 9 14 13)
        );
    }
    back
    {
        type empty;
        faces
        (
            (15 20 21 16)
            (16 21 22 17)
            (17 22 23 18)
            (18 23 24 19)
            (20 25 26 21)
            (21 26 27 22)
            (22 27 28 23)
            (23 28 29 24)
        );
    }
);

mergePatchPairs
(
);

// ************************************************************************* //
